import Vue from 'vue'
import Vuex from 'vuex'

import auth from "./modules/auth"
import general from "./modules/general"
import role from "./modules/role"
import user from "./modules/user"

Vue.use(Vuex)

export default new Vuex.Store({
  strict: process.env.NODE_ENV !== 'production',
  modules: {
    general,
    auth,
    user,    
    role,    
  }
})
